package demo1;

public class Person {
    public String name;
    public int age;


    public Person(String name, int age) {
        this.name = name;
        this.age = age;
    }

    public void show() {
        System.out.println("姓名: " + name + "  年龄: " + age);
    }
}
